How to define a function in SQL

welcome to shbcf.ru